<?php
/**
 * NanoAnswer
 * 
 * @category Nano
 * @package Answer
 * @copyright (c) 2010 Nano Group
 * @license http://www.gnu.org/licenses/gpl.html
 */

defined('NANOANSWER') or die('direct access not allowed');

class Nano_Db
{
	protected $_type;
	
	protected $_name;
	
	protected $_host;
	
	protected $_user;
	
	protected $_pass;
	
	protected $_tablePrefix;
	
	public function __construct($_config = array())
	{
		
	}
	
	/**
	 * Fetch MySQL Resource
	 * 
	 * @param $resource MYSQL_RESOURCE
	 * @param $method ROW | ARRAY
	 * @return MYSQL_FETCH_ROW | MYSQL_FETCH_ARRAY | FALSE
	 */
	public function fetch($resource, $method)
	{
		
	}
	
	public function query()
	{
		
	}
}